package com.driving.code.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 喜欢编程的代先生
 * @since 2021-06-14
 */
public class Grade implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 成绩ID
     */
    @TableId(value = "grade_id", type = IdType.AUTO)
    private Integer gradeId;

    /**
     * 考试学员
     */
    private Integer gradeLearner;

    /**
     * 考试的科目
     */
    private String gradeSubject;

    /**
     * 考试所用时间
     */
    private Integer gradeExamTime;

    /**
     * 考试所用时间
     */
    private Integer gradeScore;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date created;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modified;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleted;


    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public Integer getGradeLearner() {
        return gradeLearner;
    }

    public void setGradeLearner(Integer gradeLearner) {
        this.gradeLearner = gradeLearner;
    }

    public String getGradeSubject() {
        return gradeSubject;
    }

    public void setGradeSubject(String gradeSubject) {
        this.gradeSubject = gradeSubject;
    }

    public Integer getGradeExamTime() {
        return gradeExamTime;
    }

    public void setGradeExamTime(Integer gradeExamTime) {
        this.gradeExamTime = gradeExamTime;
    }

    public Integer getGradeScore() {
        return gradeScore;
    }

    public void setGradeScore(Integer gradeScore) {
        this.gradeScore = gradeScore;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "Grade{" +
                "gradeId=" + gradeId +
                ", gradeLearner=" + gradeLearner +
                ", gradeSubject='" + gradeSubject + '\'' +
                ", gradeExamTime=" + gradeExamTime +
                ", gradeScore=" + gradeScore +
                ", created=" + created +
                ", modified=" + modified +
                ", deleted=" + deleted +
                '}';
    }
}
